package com.amazon.inapp.purchasing;

public final class GetUserIdResponse
{
  private static final String TO_STRING_FORMAT = "(%s, requestId: \"%s\", getUserIdRequestStatus: \"%s\", userId: \"%s\")";
  private final GetUserIdRequestStatus _getUserIdRequestStatus;
  private final String _requestId;
  private final String _userId;

  GetUserIdResponse(String paramString1, GetUserIdRequestStatus paramGetUserIdRequestStatus, String paramString2)
  {
    Validator.validateNotNull(paramString1, "requestId");
    Validator.validateNotNull(paramGetUserIdRequestStatus, "getUserIdRequestStatus");
    if (GetUserIdRequestStatus.SUCCESSFUL == paramGetUserIdRequestStatus)
      Validator.validateNotNull(paramString2, "userId");
    this._requestId = paramString1;
    this._userId = paramString2;
    this._getUserIdRequestStatus = paramGetUserIdRequestStatus;
  }

  public String getRequestId()
  {
    return this._requestId;
  }

  public String getUserId()
  {
    return this._userId;
  }

  public GetUserIdRequestStatus getUserIdRequestStatus()
  {
    return this._getUserIdRequestStatus;
  }

  public String toString()
  {
    Object[] arrayOfObject = new Object[4];
    arrayOfObject[0] = super.toString();
    arrayOfObject[1] = this._requestId;
    arrayOfObject[2] = this._getUserIdRequestStatus;
    arrayOfObject[3] = this._userId;
    return String.format("(%s, requestId: \"%s\", getUserIdRequestStatus: \"%s\", userId: \"%s\")", arrayOfObject);
  }

  public static enum GetUserIdRequestStatus
  {
    static
    {
      FAILED = new GetUserIdRequestStatus("FAILED", 1);
      GetUserIdRequestStatus[] arrayOfGetUserIdRequestStatus = new GetUserIdRequestStatus[2];
      arrayOfGetUserIdRequestStatus[0] = SUCCESSFUL;
      arrayOfGetUserIdRequestStatus[1] = FAILED;
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.inapp.purchasing.GetUserIdResponse
 * JD-Core Version:    0.6.2
 */